package org.kzwl.mapper.app;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.kzwl.entity.app.Book;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 张国伟/郭家恒
 * @since 2020-09-10
 */
public interface BookMapper extends BaseMapper<Book> {


    List<Book> queryType(@Param("type") Integer type,@Param("pageNo")Integer pageNo,@Param("pageSize")Integer pageSize);

    Integer queryTypeCount(@Param("type") Integer type,@Param("pageNo")Integer pageNo,@Param("pageSize")Integer pageSize);

    void insertMy(@Param("book") Book book);
}
